package com.shsh.safemanage.model;

import java.io.Serializable;

public class PostCheck implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -8709531900900487181L;
	private Long id;
	private String checkName;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCheckName() {
		return checkName;
	}

	public void setCheckName(String checkName) {
		this.checkName = checkName;
	}

	public int hashCode() {
		return this.id.intValue();
	}

	public boolean equals(Object o) {
		if (o == null) {
			return false;
		}

		if (!(o instanceof PostCheck)) {
			return false;
		}

		PostCheck postCheck = (PostCheck) o;
		return postCheck.getId().equals(this.id);
	}
}
